package com.coderman.infosys.auth.app.convert;

import java.util.List;

import com.coderman.infosys.auth.api.dto.authority.AdminAuthorityDTO;
import com.coderman.infosys.auth.api.dto.authority.request.CreateAdminAuthorityRequestDTO;
import com.coderman.infosys.auth.api.dto.authority.request.UpdateAdminAuthorityRequestDTO;
import com.coderman.infosys.auth.domain.bo.authority.AdminAuthorityBO;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:AdminAuthorityConvert接口
* @Author:
* @CreateTime:2022-01-02 15:27:39
* @version v1.0
*/
@Mapper
public interface AdminAuthorityConvert{
	AdminAuthorityConvert INSTANCE = Mappers.getMapper(AdminAuthorityConvert.class);

	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityDTO>
	 */
	 List<AdminAuthorityDTO> adminAuthorityBOs2dtoList(List<AdminAuthorityBO> adminAuthorityBOList);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO dto2bo(CreateAdminAuthorityRequestDTO createAdminAuthorityRequestDTO);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> adminAuthorityDTOs2boList(List<AdminAuthorityDTO> adminAuthorityDTOList);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> createAdminAuthorityRequestDTOs2boList(List<CreateAdminAuthorityRequestDTO> createAdminAuthorityRequestDTOList);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO dto2bo(AdminAuthorityDTO adminAuthorityDTO);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityDTO
	 */
	 AdminAuthorityDTO bo2dto(AdminAuthorityBO adminAuthorityBO);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO dto2bo(UpdateAdminAuthorityRequestDTO updateAdminAuthorityRequestDTO);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> updateAdminAuthorityRequestDTOs2boList(List<UpdateAdminAuthorityRequestDTO> updateAdminAuthorityRequestDTOList);
}